import request from "@/manager/base/RequestManager";


/**
 * FileName: SystemAuthPostController.java
 * Author:   徐寿春
 * Date:     2023/2/16 10:22
 * <p>
 * 名称: 系统岗位管理
 */
export function postAll(params?: any) {
    return request.get('/system/post/all', params)
}

/**
 * 获取岗位列表
 *
 * @param params
 */
export function getPostLists(params?: any) {
    return request.post('/system/post/getPostLists', params)
}

/**
 * 删除岗位
 *
 * @param params
 */
export function postDelete(params: any) {
    return request.post('/system/post/delPost', params)
}


/**
 * 编辑岗位
 *
 * @param params
 */
export function postEdit(params: any) {
    return request.post('/system/post/editPost', params)
}

/**
 * 增加岗位
 *
 * @param params
 */
export function postAdd(params: any) {
    return request.post('/system/post/addPost', params)
}


/**
 * 获取岗位详情
 *
 * @param params
 */
export function getPostDetailById(params: any) {
    return request.post('/system/post/getPostDetailById', params)
}